Colin Walters [Fri, 22 Jul 2022 20:11:20 +0000 (16:11 -0400)]
Merge pull request #2678 from cgwalters/release-2022-5
Release 2022 5
Colin Walters [Fri, 22 Jul 2022 19:19:43 +0000 (15:19 -0400)]
rust-bindings: Fix `cargo fmt`
Colin Walters [Fri, 22 Jul 2022 19:09:07 +0000 (15:09 -0400)]
configure: post-release version bump
Colin Walters [Fri, 22 Jul 2022 19:08:25 +0000 (15:08 -0400)]
Release 2022.5
Colin Walters [Fri, 22 Jul 2022 19:05:27 +0000 (15:05 -0400)]
Merge pull request from GHSA-gqf4-p3gv-g8vw
Fix sign
ed25519 verify
Luca Bruno [Fri, 15 Jul 2022 18:25:13 +0000 (18:25 +0000)]
Merge pull request #2675 from HuijingHei/update-doc
Update doc about adding new function to libostree
Colin Walters [Fri, 15 Jul 2022 18:24:25 +0000 (14:24 -0400)]
Merge pull request #2676 from render-se/debos-docs
add debos to readme distribution build tools
Chris Mucciolo [Fri, 15 Jul 2022 17:24:29 +0000 (13:24 -0400)]
docs add debos to readme distribution build tools
Colin Walters [Thu, 14 Jul 2022 20:48:12 +0000 (16:48 -0400)]
rust: Add a test case for
ed25519
Specifically, I verified that *before* the previous patch to the
ed25519 C code, the last bit of code would fail with a SIGSEGV when
trying to read the empty signature.
Colin Walters [Thu, 14 Jul 2022 18:42:19 +0000 (14:42 -0400)]
sign/
ed25519: Verify signatures are minimum length
The
ed25519 signature verification code does not
check that the signature is a minimum/correct length.
As a result, if the signature is too short, libsodium will end up
reading a few bytes out of bounds.
Reported-by: Demi Marie Obenour <demi@invisiblethingslab.com>
Co-authored-by: Demi Marie Obenour <demi@invisiblethingslab.com>
Closes: https://github.com/ostreedev/ostree/security/advisories/GHSA-gqf4-p3gv-g8vw
Huijing Hei [Thu, 14 Jul 2022 06:24:03 +0000 (14:24 +0800)]
Update doc about adding new function to libostree
Colin Walters [Wed, 13 Jul 2022 20:35:28 +0000 (16:35 -0400)]
Merge pull request #2669 from HuijingHei/fix-kargs
Fix `ostree admin kargs edit-in-place` fails issue
Colin Walters [Wed, 13 Jul 2022 20:35:17 +0000 (16:35 -0400)]
Merge pull request #2672 from cgwalters/initialize-sysroot-cleanups
sysroot: Have `ensure_writable` also always initialize
Colin Walters [Wed, 13 Jul 2022 20:35:10 +0000 (16:35 -0400)]
Merge pull request #2673 from cgwalters/assert-boot
sysroot: Add a few more assertions about `boot_fd`
Colin Walters [Wed, 13 Jul 2022 19:38:59 +0000 (15:38 -0400)]
sysroot: Add a few more assertions about `boot_fd`
These places are all safe, but it would catch bugs in the future
more clearly to trip an assertion here.
Colin Walters [Wed, 13 Jul 2022 19:35:00 +0000 (15:35 -0400)]
sysroot: Have `ensure_writable` also always initialize
For historical reasons we have a fair bit of distinct sysroot
initialization going on. A lot of code is calling *just* the new
`ensure_writable()` API, which does basically what you'd expect...
except if we're not using a mount namespace.
Which is the case in unit tests and legacy setups.
Change this API to also ensure the sysroot is fully initialized
even in those cases. Specifically we'll have `self->sysroot_fd`.
For now, callers that need `/boot` also need to separately
call `_ensure_boot_fd()`.
Colin Walters [Wed, 13 Jul 2022 19:32:05 +0000 (15:32 -0400)]
deploy: Ensure sysroot is initialized for kargs in place
Even without a mount namespace set up.
Colin Walters [Tue, 12 Jul 2022 20:03:09 +0000 (16:03 -0400)]
Merge pull request #2671 from matthiasbeyer/readme-rust-bindings-fix
Fix link to rust bindings
Huijing Hei [Tue, 12 Jul 2022 08:27:56 +0000 (16:27 +0800)]
Add test to verify `ostree admin kargs edit-in-place` working
Huijing Hei [Fri, 8 Jul 2022 11:37:37 +0000 (19:37 +0800)]
Fix `ostree admin kargs edit-in-place` fails issue
Add func to set kernel arguments in place, instead of create new
deployment
Fix https://github.com/ostreedev/ostree/issues/2664
Jonathan Lebon [Mon, 11 Jul 2022 17:52:53 +0000 (13:52 -0400)]
Merge pull request #2668 from cgwalters/sync-cargo-deny
Matthias Beyer [Mon, 11 Jul 2022 06:55:43 +0000 (08:55 +0200)]
Fix link to rust bindings
ostree-rs was merged into ostree, so link to the rust bindings within
this repository.
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Colin Walters [Fri, 8 Jul 2022 13:41:04 +0000 (09:41 -0400)]
Merge pull request #2666 from saqibali-2k/pr/bls-append
ostree-repo: bls-append-except-default followup
Colin Walters [Fri, 8 Jul 2022 13:33:18 +0000 (09:33 -0400)]
deny: Sync with rpm-ostree
This extends the license set basically and ignores private repos
(which we don't have any yet).
Saqib Ali [Tue, 5 Jul 2022 16:00:16 +0000 (12:00 -0400)]
ostree-repo: bls-append-except-default followup
This PR is followup from https://github.com/coreos/coreos-assembler/pull/2863
Summary of changes:
- Moved bls-append-except-default parsing logic to reload_sysroot_config()
- Made sure heap allocated memory is being freed
Colin Walters [Wed, 6 Jul 2022 21:13:23 +0000 (17:13 -0400)]
Merge pull request #2667 from cgwalters/deploy-require-repo
lib: Stop using old `ostree_sysroot_get_repo()` API
Colin Walters [Wed, 6 Jul 2022 11:46:42 +0000 (07:46 -0400)]
lib: Stop using old `ostree_sysroot_get_repo()` API
It's falliable, and in one place we were actually ignoring
the error and leaving a `NULL` repo object which is just a trap
for people coming along later since it's rarely nullable.
Quite a while ago we switched to loading the repo at the same time
as the sysroot; convert callers in the library to use this infallible
accessor.
Prep for another patch which will use the repo object.
Colin Walters [Thu, 30 Jun 2022 13:08:54 +0000 (09:08 -0400)]
Merge pull request #2632 from saqibali-2k/pr/prune-commit-only
lib/prune: speed up pruning by retrieving only commits
Jonathan Lebon [Tue, 28 Jun 2022 20:56:09 +0000 (16:56 -0400)]
Merge pull request #2661 from cgwalters/port-cap-std
Saqib Ali [Mon, 6 Jun 2022 21:46:01 +0000 (17:46 -0400)]
lib/prune: speed up pruning by retrieving only commits
After landing the new --commit-only functionality, we still noticed
exceedingly long pruning times in large repos. Lets add an optimization
that will only retrieve commit objects when --commit-only flag is used.
Colin Walters [Fri, 24 Jun 2022 19:28:21 +0000 (15:28 -0400)]
tests/inst: Port to cap-std
Part of an ongoing effort.
Colin Walters [Fri, 24 Jun 2022 18:30:33 +0000 (14:30 -0400)]
Merge pull request #2660 from cgwalters/fix-load-file-api
repo: Metadata return values from `load_file` are not nullable
Jonathan Lebon [Fri, 24 Jun 2022 16:49:50 +0000 (12:49 -0400)]
Merge pull request #2655 from nikita-dubrovskii/sdboot_rename
Jonathan Lebon [Fri, 24 Jun 2022 14:49:19 +0000 (10:49 -0400)]
Merge pull request #2659 from cgwalters/hackaround-cosa-systemd-unit-check
Colin Walters [Thu, 23 Jun 2022 21:23:45 +0000 (17:23 -0400)]
tests/staged-deploy.sh: Hack around cosa systemd unit check
https://github.com/coreos/coreos-assembler/pull/2921 broke this
test which is intentionally causing a systemd unit to fail.
As they say, necessity is the mother of invention. They don't
say though that need always causes particularly *beautiful* things
to be invented...
Nikita Dubrovskii [Thu, 23 Jun 2022 13:54:04 +0000 (15:54 +0200)]
s390x: rename sd-boot to sdboot
Signed-off-by: Nikita Dubrovskii <nikita@linux.ibm.com>
Colin Walters [Thu, 23 Jun 2022 21:36:46 +0000 (17:36 -0400)]
repo: Metadata return values from `load_file` are not nullable
The pattern this API uses in C is to allow the input parameters
pointer targets to be `NULL`, and it doesn't return values in that
case.
A further complexity here is that the API will still return `NULL`
for symbolic links.
But Rust can't express this pattern as is, so we were always
returning values but in `Option<T>` wrappers that the caller needed
to unwrap for the metadata.
(We really want an even more efficient API here that avoids the glib
objects entirely, e.g. no reason not to pass directly back a type
that lets Rust directly read from the fd for bare repos, but
that can come later)
Colin Walters [Thu, 23 Jun 2022 20:36:24 +0000 (16:36 -0400)]
Merge pull request #2656 from cgwalters/bump-cap-std
rust: Bump semver to 0.15 && bump cap-std 0.25
Colin Walters [Thu, 23 Jun 2022 20:35:49 +0000 (16:35 -0400)]
Merge pull request #2658 from jlebon/pr/pinger
tests/inst/destructive: stop disabling fedora-coreos-pinger
Jonathan Lebon [Thu, 23 Jun 2022 19:50:39 +0000 (15:50 -0400)]
tests/inst/destructive: stop disabling fedora-coreos-pinger
It was removed from FCOS:
https://github.com/coreos/fedora-coreos-tracker/issues/770
Colin Walters [Thu, 23 Jun 2022 18:25:42 +0000 (14:25 -0400)]
Bump to cap-std 0.25 and io-lifetimes 0.7
Prep for bumping ostree-rs-ext, which will help bump rpm-ostree,
which will get it out of having two copies of rustix.
Colin Walters [Thu, 23 Jun 2022 18:56:30 +0000 (14:56 -0400)]
rust: Bump semver to 0.15
Prep for some breaking changes.
Colin Walters [Thu, 23 Jun 2022 18:58:00 +0000 (14:58 -0400)]
Fix clippy lint in cap-std bits
Colin Walters [Thu, 23 Jun 2022 18:44:33 +0000 (14:44 -0400)]
ci/rust: Change MSRV to `cargo check`
No reason to codegen just to throw it away. We could test here too,
but eh.
Colin Walters [Thu, 23 Jun 2022 18:43:55 +0000 (14:43 -0400)]
ci/rust: Enable `cap-std-apis` in default build, add a no-feature build
Our CI was missing coverage of `cap-std-apis`.
Colin Walters [Thu, 23 Jun 2022 16:16:03 +0000 (12:16 -0400)]
Merge pull request #2639 from HuijingHei/admin-kargs-edit-in-place
RFE: Add a hidden option to `ostree admin kargs edit-in-place` to update all existing deployments in place
Huijing Hei [Thu, 2 Jun 2022 07:30:20 +0000 (15:30 +0800)]
RFE: Add a hidden option to `ostree admin kargs edit-in-place` to
update all existing deployments in place
Example:
$ sudo ostree admin kargs edit-in-place --append-if-missing=rw
See https://github.com/ostreedev/ostree/issues/2617
This will not add duplicate key, if there is `TESTARG=VAL1` in the
kernel arguments, `--append-if-missing=TESTARG=VAL2` will be ignored.
Colin Walters [Tue, 21 Jun 2022 20:44:12 +0000 (16:44 -0400)]
Merge pull request #2651 from cgwalters/misc-declare-and-initialize-2
cli: Port to C99 style (3)
Colin Walters [Tue, 21 Jun 2022 20:00:32 +0000 (16:00 -0400)]
Merge pull request #2654 from jlebon/pr/drop-packit
Drop `.packit.yaml`
Jonathan Lebon [Tue, 21 Jun 2022 19:10:18 +0000 (15:10 -0400)]
Drop `.packit.yaml`
This repo is already hooked to the @CoreOS/continuous COPR repo for
multi-arch RPM builds of the latest commits.
It's possible we will use Packit in the future to help with the release
process. But for now, let's just drop this file since it's not needed
and the Packit failures are marking git main CI as failed.
Colin Walters [Mon, 20 Jun 2022 20:38:29 +0000 (16:38 -0400)]
Merge pull request #2652 from smcv/not-always-xattrs
test-basic-c: Don't assert that extended attributes are available
Simon McVittie [Fri, 17 Jun 2022 13:15:35 +0000 (14:15 +0100)]
test-basic-c: Don't assert that extended attributes are available
Not all filesystems support extended attributes. This test uses
/var/tmp to try to get an extended-attributes-capable filesystem,
but that might not succeed.
Signed-off-by: Simon McVittie <smcv@debian.org>
Colin Walters [Tue, 14 Jun 2022 13:50:07 +0000 (09:50 -0400)]
cli/refs: Port to C99 style
General background cleanup.
Colin Walters [Tue, 14 Jun 2022 13:50:07 +0000 (09:50 -0400)]
cli/remote-list: Port to C99 style
General background cleanup.
Colin Walters [Tue, 14 Jun 2022 13:50:07 +0000 (09:50 -0400)]
cli/gpg-sign: Port to C99 style
General background cleanup.
Jonathan Lebon [Tue, 14 Jun 2022 20:20:44 +0000 (16:20 -0400)]
Merge pull request #2650 from cgwalters/misc-declare-and-initialize-1
Joseph Marrero Corchado [Tue, 14 Jun 2022 14:38:46 +0000 (10:38 -0400)]
Merge pull request #2649 from cgwalters/misc-declare-and-initialize
cli: a few "Port to C99 style"
Colin Walters [Tue, 14 Jun 2022 13:50:07 +0000 (09:50 -0400)]
cli/diff: Port to C99 style
General background cleanup.
Colin Walters [Tue, 14 Jun 2022 13:50:07 +0000 (09:50 -0400)]
cli/config: Port to C99 style
General background cleanup.
Colin Walters [Tue, 14 Jun 2022 13:50:07 +0000 (09:50 -0400)]
cli/unlock: Port to C99 style
General background cleanup.
Colin Walters [Tue, 14 Jun 2022 13:50:07 +0000 (09:50 -0400)]
cli/undeploy: Port to C99 style
General background cleanup.
Colin Walters [Tue, 14 Jun 2022 13:50:07 +0000 (09:50 -0400)]
cli/os-init: Port to C99 style
General background cleanup; motivated by a recent PR which
was using pre-C99 code as a base.
Colin Walters [Mon, 13 Jun 2022 13:10:36 +0000 (09:10 -0400)]
Merge pull request #2643 from cgwalters/rust-2021
rust: Switch to 2021 edition, bump MSRV, a few `format!` updates
Luca Bruno [Mon, 13 Jun 2022 07:46:14 +0000 (07:46 +0000)]
Merge pull request #2646 from cgwalters/bindings-tests
rust-bindings: Wire up `tests/`
Luca Bruno [Mon, 13 Jun 2022 07:32:33 +0000 (07:32 +0000)]
Merge pull request #2645 from cgwalters/fsck-more-cleanups
fsck: A few more cleanups
Colin Walters [Sun, 12 Jun 2022 18:34:02 +0000 (14:34 -0400)]
rust-bindings: Wire up `tests/`
Because the source is in a subdirectory, we lose out on cargo target
autodiscovery.
I noticed this when I edited one of the tests in a way that
should have failed, but didn't...
Colin Walters [Sun, 12 Jun 2022 14:55:14 +0000 (10:55 -0400)]
fsck: Use `load_variant_if_exists`
This cleans up error handling here.
Colin Walters [Sun, 12 Jun 2022 14:53:09 +0000 (10:53 -0400)]
fsck: Move most commit processing into helper function
The inner loop was way too long; split out most of the heavy
lifting around backrefs and tombstones into a helper function.
Colin Walters [Sun, 12 Jun 2022 14:48:39 +0000 (10:48 -0400)]
fsck: De-indent loop
Could have done this in the previous change, but wanted to avoid
excessive diff noise.
Colin Walters [Sat, 11 Jun 2022 12:09:35 +0000 (08:09 -0400)]
Merge pull request #2644 from cgwalters/list-commit-objects
fsck: Don't load all object names into memory
Colin Walters [Thu, 9 Jun 2022 22:32:09 +0000 (18:32 -0400)]
fsck: Don't load all object names into memory
We recently discovered `list_objects()` is inefficient with memory.
The more efficient `list_objects_set()` API isn't yet public, but
this fsck code actually just skips over non-commit objects, and
we already have an API to list just those.
Colin Walters [Thu, 9 Jun 2022 22:34:25 +0000 (18:34 -0400)]
repo: Document non-obvious way to list all commits
I was going to add an API for this and then realized the empty
string does it.
Colin Walters [Thu, 9 Jun 2022 21:51:07 +0000 (17:51 -0400)]
rust: Use inline `format!` variables in a few places
Since our MSRV now supports it.
Colin Walters [Thu, 9 Jun 2022 21:49:18 +0000 (17:49 -0400)]
ci: Bump MSRV
To match what's in ostree-rs-ext.
Joseph Marrero Corchado [Thu, 9 Jun 2022 20:53:52 +0000 (16:53 -0400)]
Merge pull request #2641 from cgwalters/bump-ostree-rs-ext-0.7
tests/inst: Bump the version of ostree-ext
Joseph Marrero Corchado [Thu, 9 Jun 2022 20:53:00 +0000 (16:53 -0400)]
Merge pull request #2642 from cgwalters/rust-bindings-cargo-updates
Rust bindings cargo updates
Colin Walters [Thu, 9 Jun 2022 19:55:41 +0000 (15:55 -0400)]
rust: Switch to 2021 edition
No real changes.
```
$ cargo fix --edition
note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo.
This may cause some dependencies to be built with fewer features enabled than previously.
More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html
When building the following dependencies, the given features will no longer be used:
libc v0.2.126 removed features: extra_traits
The following differences only apply when building with dev-dependencies:
getrandom v0.2.6 removed features: std
```
which looks OK to me.
Colin Walters [Thu, 9 Jun 2022 18:59:44 +0000 (14:59 -0400)]
rust-bindings: Update cargo package list
When we did the merger, it turns out cargo by default is basically
going to include all of stuff in the git repository root directory
which is "libostree". We just want the stuff in `rust-bindings/`.
I initially tried adding `include = "rust-bindings/"` but
according to
https://doc.rust-lang.org/cargo/reference/manifest.html#the-exclude-and-include-fields
specifying `include` means that `exclude` is
ignored, which is kind of annoying. Further, doing so *also*
turns off the cargo automatic rules for handling e.g. `gitignore`.
So for now I went with the approach of adding everything from the C
library stuff into `exclude/`.
Colin Walters [Thu, 9 Jun 2022 18:55:25 +0000 (14:55 -0400)]
rust-bindings: use correct README.md
I noticed at https://crates.io/crates/ostree/0.14.0
that the `README.md` was wrong...
Colin Walters [Thu, 9 Jun 2022 18:53:06 +0000 (14:53 -0400)]
rust-bindings: Fix repository reference
Since the repo merge.
Colin Walters [Thu, 9 Jun 2022 18:51:45 +0000 (14:51 -0400)]
tests/inst: Bump the version of ostree-ext
In the interest of cross-testing and keeping things up to date.
Hmm, I think we need to set up dependabot here.
Joseph Marrero Corchado [Wed, 8 Jun 2022 21:17:28 +0000 (17:17 -0400)]
Merge pull request #2638 from cgwalters/fix-symbol-versioning
lib: Fix symbol versioning inheritance
Joseph Marrero Corchado [Wed, 8 Jun 2022 20:53:29 +0000 (16:53 -0400)]
Merge pull request #2637 from cgwalters/opt-prune-reachable-too
prune: Also use object set API in `ostree_repo_prune_from_reachable()`
Colin Walters [Wed, 8 Jun 2022 20:27:30 +0000 (16:27 -0400)]
lib: Fix symbol versioning inheritance
I messed this up; the last release should inherit from the previous
release (N-1) and not the previous to that (N-2).
I think (hope) this isn't an ABI break...
Just noticed this when I was going to add a new symbol.
Colin Walters [Wed, 8 Jun 2022 20:22:26 +0000 (16:22 -0400)]
prune: Also use object set API in `ostree_repo_prune_from_reachable()`
I missed the second prune path when working on
https://github.com/ostreedev/ostree/pull/2635
Colin Walters [Wed, 8 Jun 2022 17:16:11 +0000 (13:16 -0400)]
Merge pull request #2636 from cgwalters/update-git-libostree-git-rust
ci: Add a flow that does a git libostree + git rust-bindings
Jonathan Lebon [Wed, 8 Jun 2022 15:38:36 +0000 (11:38 -0400)]
Merge pull request #2635 from cgwalters/list-objects-set
Colin Walters [Wed, 8 Jun 2022 13:53:33 +0000 (09:53 -0400)]
ci: Add a flow that does a git libostree + git rust-bindings
In https://github.com/ostreedev/ostree/pull/2633 I realized
that our CI only builds git of libostree or git of rust-bindings,
not git of both. And we definitely want to test the latter too,
so e.g. the Rust tests *also* become tests for changes to the C code.
Colin Walters [Wed, 8 Jun 2022 01:41:08 +0000 (21:41 -0400)]
repo: Further optimize `ostree_repo_list_objects_set()`
In a prior change we discovered that for bad historical reasons
libostree was returning a mapping "object type+checksum" => "metadata"
but the "metadata" was redundant and pointless.
Optimize the prune API to use a (currently internal) object listing
API which returns a set, not a map. This allows `GHashTable` to
avoid allocating a separate array for the values, neatly cutting
memory usage in half (from ~13MB to ~6MB) on my test case of a
dry-run prune of a FCOS build.
Joseph Marrero Corchado [Wed, 8 Jun 2022 14:15:02 +0000 (10:15 -0400)]
Merge pull request #2633 from cgwalters/bump-rust-bindings
rust: Bump semver, add feature for current release
Colin Walters [Tue, 7 Jun 2022 21:59:02 +0000 (17:59 -0400)]
rust: Bump semver, add feature for current release
There were some changes to the sys API for introspection fixes.
And add a feature for the current release, which is something
I'll add to the checklist for releases.
Dan Nicholson [Wed, 8 Jun 2022 02:59:45 +0000 (20:59 -0600)]
Merge pull request #2634 from cgwalters/list-objects-malloc
repo: Optimize memory use of `ostree_repo_list_objects()`
Colin Walters [Wed, 8 Jun 2022 00:30:09 +0000 (20:30 -0400)]
repo: Optimize memory use of `ostree_repo_list_objects()`
I was looking at https://github.com/ostreedev/ostree/pull/2632
and confused at the usage of
`GVariant *value = g_variant_new ("(b@as)", TRUE, g_variant_new_strv (NULL, 0));`
which looked strange - why the empty strv?
It turns out that this is a historical legacy of the time when
ostree had pack files. And nothing actually cares about the values
of these variants; we should have an API that returns a proper set,
and not a hash.
But...since all of these things have exactly the same value, instead
of allocating lots of redundant copies on the heap, just have
them all hold a refcount on a shared value.
This cuts the heap usage from 20MB to 13MB on a test FCOS repository
build.
Joseph Marrero Corchado [Mon, 6 Jun 2022 16:49:42 +0000 (12:49 -0400)]
Merge pull request #2631 from cgwalters/release-2022-4
Release 2022.4
Colin Walters [Mon, 6 Jun 2022 15:06:44 +0000 (11:06 -0400)]
configure: post-release version bump
Colin Walters [Mon, 6 Jun 2022 15:04:44 +0000 (11:04 -0400)]
Release 2022.4
Jonathan Lebon [Fri, 3 Jun 2022 14:52:44 +0000 (10:52 -0400)]
Merge pull request #2627 from cgwalters/bindings-drop-committed-gir
Colin Walters [Fri, 3 Jun 2022 13:58:20 +0000 (09:58 -0400)]
rust-bindings: Update to latest git
Colin Walters [Fri, 3 Jun 2022 13:57:12 +0000 (09:57 -0400)]
rust-bindings: Use OSTree-1.0.gir from our own builddir
Now that the projects are unified.
Colin Walters [Fri, 3 Jun 2022 13:48:47 +0000 (09:48 -0400)]
rust-bindings: Delete committed gir files
These seem to have been accidentally committed to git; they should
not be here. The Gir should be derived from source code.